<template>
	<view class="all">
		<view class="top">
			{{list.n_title}}
		</view>
		<view class="title">
			发布时间：{{list.create_time}}
		</view>
		<view class="text" v-html="list.n_message">
		</view>
		<!-- <image class="img1" src="../../../static/index/detil.png" mode=""></image> -->
	</view>
</template>

<script>
	export default {
		data() {
			return {
				id: "",
				list: {}
			};
		},
		onLoad(option) {
			this.id = option.id
			this.getdetil()
		},
		methods: {
			async getdetil() {
				const res = await this.$api("/support_worker/index/notice", 'post', {
					id: this.id
				}).then(res => {
					console.log(res);
					this.list = res.data.data
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.all {
		padding: 15px;

		.top {
			font-size: 16px;
			font-weight: bold;
			color: #333333;
			margin: 10px 0;
		}

		.title {
			font-size: 13px;
			font-weight: 400;
			color: #999999;
			margin: 10px 0;
		}

		.text {
			font-size: 14px;
			font-weight: 400;
			color: #333333;
			line-height: 20px;
		}

		.img1 {
			width: 100%;
			height: 145px;
			margin: 20px 0;
		}
	}
</style>